<template>
	<view>
	
        <view class="container">
            <view class="row">
                <view class="cmt space-0">
                    <h2>{{info.title}}</h2>

                    <view class="cmt-text">
						
						<jshopContent :content="info.content" is_all_show="1" v-if="info.content"></jshopContent>
                    </view>
                </view>

            </view>
	    </view> 

	</view>
</template>

<script>
	import jshopContent from '@/components/jshop/jshop-content.vue' //视频和文本解析组件
	export default {
		components: {
			jshopContent,
		},
		data() {
			return {
				smg:"",
				"info":[],
				"menu":[]
			}
		},
		onLoad(e) {
			let _this = this;
			this.$api.getPageInfo({
					id:e.id
				},
				res => {
					_this.info = res.info;
					_this.menu = res.menu;
					console.log(_this.info);
				}
			);
			
		},
		methods: {
			
		}
	}
</script>

<style scoped>
  .container{
        background: #fff;
    }
    .row{
        margin: 0 40upx 0 40upx;
        padding-top: 20upx;
        padding-bottom: 60upx;
    }
    .cmt>h2{
        font-size: 48upx;
    }

    .cmt-text>h3{
        font-size: 40upx;
        color: #13c3c3;
        margin: 60upx 0 20upx 0;
    }
    .cmt-text>p{
        font-size: 36upx;
        margin: 40upx 0 20upx 0;
        line-height: 60upx;
    }
    .cmt-text>p>span{
         color: #13c3c3;
         font-weight: bold;
    }

</style>
